import { defineStore } from "pinia";
import { ref } from "vue";

export const useUser = defineStore("user", () => {
  const count = ref(0);

  const addCount = function () {
    count.value += 1;
  };

  return {
    count,
    addCount,
  };
});
